<template>
  <div class="category">
    <div class="left"><left-item></left-item></div>
    <div class="center"><center-item></center-item></div>
    <div class="right"><right-item></right-item></div>
  </div>
</template>

<script>
  import LeftItem from './left/Left.vue'
  import CenterItem from './center/Center.vue'
  import RightItem from './right/Right.vue'
  export default {
    name: "Category",
    components:{
      LeftItem,
      CenterItem,
      RightItem
    }
  }
</script>

<style scoped>
  .category{
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .left{
    border-right: 1px solid #f6f6f6;
    flex:0 0 20%;
  }
  .center{
    margin-top: 10px;
    margin-left: 20px;
    border-right: 1px solid #f6f6f6;
    flex: 0 0 50%;
  }
  .right{
    flex: 0 0 20%;
    margin-left: 20px;
  }
</style>